package Day05;

public class Demo3 {
    public static void main(String[] args) {
        int num=getMax(30,89);
        System.out.println(num);
    }
    public static int getMax(int a,int b){
        if(a>b){
            return a;
        }else{
            return b;
        }
    }
}
